﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfControlDemo.ViewModels.控件.输入控件
{
    public class PasswordBoxViewModel : ViewModelBase
    {
        public PasswordBoxViewModel()
        {
            UserName = "admin";
            UserPwd = "1234";
        }
        private string userName;
        public string UserName
        {
            get { return userName; }
            set
            {
                userName = value;
                OnPropertyChanged();
            }
        }

        private string userPwd;

        public string UserPwd
        {
            get { return userPwd; }
            set 
            { 
                userPwd = value;
                OnPropertyChanged();
            }
        }
    }
}
